#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"
void Testhp()
{
	HP hp;
	HPInit(&hp);
	int arr[]= { 17,20,10,13,19,15,18,16};
	for (int i = 0; i < 8; i++)
	{
		HPPush(&hp, arr[i]);
	}
	//HPPop(&hp);
	for (int i = 0; i < hp.size; i++)
	{
		printf("%d ", hp.arr[i]);
	}
	//while (hp.size != 0)
	//{
	//	printf("%d ", HPTop(&hp));
	//	HPPop(&hp);
	//}
	HPDestroy(&hp);
}
int main()
{
	Testhp();
	return 0;
}